<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page language="java" import="java.sql.*, java.io.*, java.util.*, database.*" %>
<%@ page import="creater.*" %>
<jsp:useBean id="con" class="database.DatabaseConnection"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Edit Info</title>
<style type="text/css">
<!--
body {
	background-image: url(../../image/3110_background/backcolor3.jpg);
	background-repeat: repeat;
}
.STYLE3 {
	font-family: "Times New Roman", Times, serif;
	font-weight: bold;
	font-size: 18px;
	color: #2a778b;
}
.STYLE8 {
	color: #2A778B;
	font-weight: bold;
	font-size: 13px;
}
-->
</style>
</head>

<body>
    <%
        String newsType = request.getParameter("newsType");
        session.setAttribute("newsType", newsType);
        %>
<form action="add_controller.jsp" method="post" name="addForm" id="addForm">
  <table width="693" height="175" border="1" align="center">
    <tr>
      <td height="31" colspan="2" align="center" valign="middle" class="STYLE3">Edit Information</td>
    </tr>
    <tr>
      <td width="95" height="27" align="center" valign="middle" nowrap="nowrap"><span class="STYLE8">The Title:</span> </td>
      <td width="588" align="left" valign="middle"><label>
        <input type="text" name="title" id="title" />
      </label></td>
    </tr>
    <tr>
      <td align="center" valign="middle" nowrap="nowrap"><span class="STYLE8">The Content:</span> </td>
      <td align="left" valign="top"><textarea name="content" cols="80" rows="30" id="content"></textarea></td>
    </tr>
    <tr>
      <td align="center" valign="middle">&nbsp;</td>
      <td align="left" valign="top"><input type="submit" name="button" id="button" value="Submit" />
      <input type="button" value="cancel" target="mainFrame" onClick="window.location.href='Add Information.jsp'"></td>
    </tr>
  </table>
</form>
</body>
</html>
